<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" charset="utf-8">
		<title>Document</title>
		<link rel="stylesheet" type="text/css" href="./static/bootstrap/css/bootstrap.css" />
		<link rel="stylesheet" type="text/css" href="./static/css/style.css" />
		<link rel="stylesheet" type="text/css" href="./static/css/idate.css" />
		<link rel="stylesheet" type="text/css" href="./static/css/common.css" />
		<link rel="stylesheet" type="text/css" href="./static/css/demostyle.css" />
		<script src="./static/js/jquery.js" type="text/javascript" charset="utf-8"></script>
		<script src="./static/bootstrap/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
		<script src="./static/bootstrap/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="./static/js/demo.js" type="text/javascript" charset="utf-8"></script>
		<script src="./static/js/idate.js" type="text/javascript" charset="utf-8"></script>
		<style>
			body {
				padding-top: 50px;
				padding-bottom: 20px;
			}
		</style>
	</head>

	<body>
		<div class="coverdiv"></div>
		<div class="signup-div" id="signup-id">
			<button type="button" class="close">
			</button>

		</div>

		<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
			<div class="container">
				<div class="navbar-header">
					<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
						<span class="sr-only">Toggle navigation</span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
					<a class="navbar-brand" href="#">MessageBoard</a>
				</div>
				<div id="navbar" class="navbar-collapse collapse">
					{if ($status=="yes")}
					<span class="label label-success">
						{$login_flag}
					</span> {else}{if ($status=="no")}
					<span class="label label-warning">
						{$login_flag}
					</span>{/if}
					{/if}
				</div>
				<!--/.navbar-collapse -->
			</div>
		</nav>
		<div class="fl col-xs-8">
			<center>
				<h1>Talk What You Want</h1><a href="index.php">去留言</a>
			</center>
			<center>
				<p class="green">从右侧日历中选择日期来查看当天留言</p>
				<div id="loading"></div>
			</center>
			<div class="mg-top-20"></div>
			<div class="msgs" id="msgs">
				{foreach from=$msgs item=msg key=k}
				<div class="mycontainer">
					<img src="{$msg['guest_portrait']}" alt="" class="guest-portrait" title={$msg[ "uname"]} />
					<span class="uname">{$msg["uname"]}</span>
					<span class="time">{date("Y-m-d H:i:s",$msg['ontime'])}</span>
					<br>
					<pre class="content">{$msg["content"]}</pre>
					<a class="dropmsg" href="index.php?c=demo&a=delmsg&id={$msg['id']}">
						<div class="content-close bd-r-100 display-none">×</div>
					</a>
				</div>
				{/foreach}
			</div>
		</div>
		<div class="box col-xs-4">
			<div id="icalendar" class="icalendar">
				<div class="ititle">
					<div id="prev">
						&lt; </div>
					<div id="title_time"></div>
					<div id="next">&gt;</div>
				</div>
				<div class="mg-top-10">&nbsp;</div>
				<table>
					<tr>
						<th></th>
						<th></th>
						<th></th>
						<th></th>
						<th></th>
						<th></th>
						<th></th>
					</tr>
					<tr>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
					</tr>
					<tr>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
					</tr>
				</table>
			</div>
			<div id="seltime">当前选择日期是：<span></span></div>
			<div id="success"></div>
			
			<div id="month_msg_date" class=""></div>
		</div>
	</body>

</html>